using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Domain.Erp;

/// <summary>
/// erp_生产设计图库
/// </summary>
[SugarTable("erp_design_library")]
public class ErpDesignLibrary:Entity
{
    /// <summary>
    /// 分类编号
    /// </summary>
    [Required]
    public long TypeId { get; set; }

    /// <summary>
    /// 文件名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 文件大小
    /// </summary>
    public string Size { get; set; }

    /// <summary>
    /// 文件地址
    /// </summary>
    public string Path { get; set; }

    /// <summary>
    /// 文件扩展名
    /// </summary>
    public string Ext { get; set; }

    /// <summary>
    /// 版本
    /// </summary>
    public string Version { get; set; } 

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; } = DateTime.Now;

    /// <summary>
    /// 更新人
    /// </summary>
    public string UpdateUser { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }


}